package com.cs.auth.api;

import com.cs.auth.common.entity.BaseResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import com.cs.auth.common.bos.AuthUserBO;

@FeignClient("cs-user")
public interface AuthUserClient {

    @PostMapping("/user/register")
    BaseResponse<Boolean> register(AuthUserBO authUserBO);

    @PostMapping("/user/login")
    BaseResponse<AuthUserBO> login(AuthUserBO authUserBO);
}
